Fireworks Article

Creating a Layout with Fireworks MX 2004 and Dreamweaver MX 2004


Table of Contents

  1. Introduction

Creating the Ultraweaver Design

  1. Creating the Ultraweaver Design
  2. Creating the Shape Outline
  3. Adding Content Areas
  4. Fills and Effects - Adding Shadow and Color Fill
  5. Fills and Effects - Adding the Glass Effects

Slicing and Exporting Fireworks HTML

  1. Slicing
  2. Exporting Fireworks HTML

Importing and Editing Fireworks HTML in Dreamweaver

  1. Create a new Site definition
  2. Creating a new HTML page and importing the Fireworks HTML
  3. Removing sliced images
  4. Removing Nested Tables
  5. Tiling Images

Removing Sliced Images

You need to remove some of the sliced images, namely the Navbar, Main Content, and the Right Column sliced images. Once you remove these, you can use these areas for your content, but before you do, you need to prepare the tables that will be affected by removing the sliced images.

  1. Select the sliced image Navbar as shown in Figure 42 below.

    The selected Navbar sliced image

    Figure 42. The selected Navbar sliced image

  2. With the Navbar sliced image selected, look at the bottom of the document where you see that the image tag is selected. To the left of this, there is a <table> tag. Select it as shown in Figure 43 below.

    Selecting the table tag in the Tag selector

    Figure 43. Selecting the table tag in the Tag selector

    You should now see the table selected in Design view.

    The table selected in Design view

    Figure 44. The table selected in Design view

  3. Now that the <table> tag is selected, go to the Property inspector and select Convert Widths to Pixels as shown in Figure 45 below.

    Converting widths to pixels in the Property inspector

    Figure 45. Converting widths to pixels in the Property inspector

    This adds width tags to the table cells: <td width="41">. This will ensure that when you remove the Navbar sliced image, the table that holds the image stay correctly formatted.

    Note: Widths in <td> tags are a deprecated property of the <td> tag. However, it will still validate as valid HTML per www.w3.org. If you wish, you can use spacer images instead of specifying widths in table cells. You just need to ensure that your table does not fall apart once you remove the Navbar sliced image.

  4. Select the Navbar image again and press the Delete key on your keyboard.

    The Navbar with the Navbar image removed

    Figure 46. The Navbar with the Navbar image removed

  5. Place the cursor inside the table cell of the Navbar image you just deleted, go to the Property inspector, and change the background color to #FFFFFF.

Perform the same steps to remove the Main Content and Right Column sliced images. In this case, both the Main Content and Right Column sliced images reside in the same table.

  1. Select the Main Content sliced image.
  2. With the Main Content sliced image selected, look at the bottom of the document where you see that the image tag is selected. To the left of this, there is a <table> tag. Select it.
  3. Now that you have selected the <table> tag, go to the Property inspector and select Convert Widths to Pixels as shown in Figure 47 below.

    Converting widths to pixels in the Property inspector

    Figure 47. Converting widths to pixels in the Property inspector

  4. Select the Main Content image again and press the Delete key on your keyboard.
  5. Select the Right Column image again and press the Delete key on your keyboard.

    The interface with the main and right content images removed

    Figure 48. The interface with the main and right content images removed

  6. Place the cursor inside the table cell of the Main Content, go to the Property inspector, and change the background color to #FFFFFF.
  7. Place the cursor inside the table cell of the Right Column, go to the Property inspector, and change the background color to #FFFFFF.

So far, you have set up the interface so that you could add content to the Navbar, Main Content, and Right Column table cells. But, you have two problems you must deal with. The first problem is that you have nested tables three deep. This is completely unnecessary. The second problem is you still need to set up your layout so that you have tiled images. We'll address the first problem of nested tables.